package cn.huijielong.modules.pub.service;

import cn.huijielong.modules.pub.entity.LocationEntity;
import cn.huijielong.common.utils.Query;
import java.util.List;
import java.util.Map;
import com.github.pagehelper.Page;

/**
 * 取货地址
 * 
 * @author xietong
 * @email xietong@gmail.com
 * @date 2019-09-21 21:00:53
 */
public interface LocationService {
	
	LocationEntity queryObject(Long locationId);
	
	Page<LocationEntity> queryList(Query q);
	
	int queryTotal(Map<String, Object> map);
	
	void save(LocationEntity location);
	
	void update(LocationEntity location);
	
	void delete(Long locationId);
	
	void deleteBatch(Long[] locationIds);
}
